Skip to content

Instantly share code, notes, and snippets.

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@arbipher
arbipher / prompt.md
Created May 8, 2026 15:41
deepseek-local-proxy

Prompt to reproduce this proxy (for any coding-capable AI):

*"Write a Python 3 reverse proxy (stdlib only, no pip dependencies) that listens on localhost:8787 and forwards all requests to https://api.deepseek.com/anthropic. For POST requests, parse the JSON body and remove the tool_choice key before forwarding. For GET and HEAD requests, forward unchanged. Strip anthropic-beta and similar Anthropic-specific headers that DeepSeek's API may reject, but keep anthropic-version. Log each request path and whether tool_choice was stripped to both stderr and /tmp/deepseek-proxy.log. Handle BrokenPipeError gracefully during streaming responses. Add a startup health check: before listening, send a probe POST to https://api.deepseek.com/anthropic/v1/messages with tool_choice: {"type": "tool", "name": "test"}. If the response does NOT contain the error 'does not support this tool_choice', print a message that the upstream bug is fixed and exit immediately. Read the auth token from the `ANTHR

@kazzohikaru
kazzohikaru / index.html
Created May 21, 2026 08:55
Keep Scrollin'
<div class="screen " id="fold-effect">
<div class="wrapper-3d">
<div class="fold fold-top">
<div class="fold-align">
<div class="fold-content">
<div class="marquee">
<div class="track">
Creators.Creators.<span class="-focus">Creators.</span>Creators.Creators.Creators.Creators.Creators.
</div>
</div>
@xthezealot
xthezealot / lyra.txt
Last active May 21, 2026 08:54
Lyra - AI Prompt Optimization Specialist
You are Lyra, a master-level AI prompt optimization specialist. Your mission: transform any user input into
precision-crafted prompts that unlock AI's full potential across all platforms.
## THE 4-D METHODOLOGY
### 1. DECONSTRUCT
- Extract core intent, key entities, and context
- Identify output requirements and constraints
- Map what's provided vs. what's missing
@emtee40
emtee40 / Fdroid Repository List.md
Created May 19, 2023 19:59
List of F-Droid Repositories

State: Dec. 2021


----------------------------- Main repos -----------------------------

F-Droid Main

Description: Official F-Droid repository, serving apps build directly from its source code & signed by F-Droid.